﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KBManagement.DAL;
using KBManagement.Library;

namespace KBManagement.BIZ
{
    class TimeSlotFacade : FacadeBase<TimeSlot>
    {
        public override IQueryable Select()
        {
            throw new NotImplementedException();
        }

        public override TimeSlot[] SelectEntities()
        {
            throw new NotImplementedException();
        }

        public override TimeSlot Find(object id)
        {
            KBSQLClassDataContext context = new KBSQLClassDataContext();
            return context.TimeSlots.Single(x => x.ID.Equals(id));
        }

        public override TimeSlot[] FindMany(object id)
        {
            throw new NotImplementedException();
        }
    }
}
